home *** CD-ROM | disk | FTP | other *** search
/ MacHack 1996 / MacHack 1996.toast / Presentations / Presentations ’96 / Sessions ’96 / ODF- Easy OpenDoc / MacHack(2) / Sources / Defines.k < prev    next >
Encoding:
Text File  |  1996-06-18  |  1.9 KB  |  58 lines  |  [TEXT/MPS ]

  1. //========================================================================================
  2. //
  3. //    File:                Defines.k
  4. //    Release Version:    $ ODF 1 $
  5. //
  6. //    Copyright:    (c) 1993 - 1996 by Apple Computer, Inc., all rights reserved.
  7. //
  8. //========================================================================================
  9.  
  10. #ifndef DEFINES_K
  11. #define DEFINES_K
  12.  
  13. //-------------------------------------------------------------------------------------
  14. // Uncomment the following four lines, and define them appropriately!!
  15. // If your part can be a container for other parts, define FW_SUPPORTS_EMBEDDING
  16. // to be 1.  Otherwise define it to be 0.
  17. // If your part defines any ODExtensions, define FW_SUPPORTS_EXTENSIONS to be
  18. // 1 to enable the extensions manager.  Otherwise, define it to be 0.
  19. // If your part is scriptable, define FW_SUPPORTS_SCRIPTING to be 1. Otherwise,
  20. // define it to be zero.  Note that if your part is scriptable is must support
  21. // extensions, so FW_SUPPORTS_EXTENSIONS must be defined to be 1.
  22.  
  23. #define FW_SUPPORTS_EMBEDDING     0
  24. #define FW_SUPPORTS_EXTENSIONS     0
  25. #define FW_SUPPORTS_SCRIPTING     0
  26.  
  27. //-------------------------------------------------------------------------------------
  28. // Icons ID
  29.  
  30. #define kDocumentIconID            1000
  31. #define kStationeryIconID        1001
  32. #define kEditorIconID            1002
  33.  
  34. //-------------------------------------------------------------------------------------
  35. // PartInfo
  36. #define kPartInfoID                1000
  37.  
  38. //-------------------------------------------------------------------------------------
  39. // About
  40. #define kAbout                    1024
  41.  
  42. //-------------------------------------------------------------------------------------
  43. // View resources & View IDs 
  44. #define kMacHackView            1024
  45.  
  46. #define kMacHackViewID            2
  47. #define kHorzScrollBarID        3
  48. #define kVertScrollBarID        4 
  49. #define kGrowBoxID                 5
  50.  
  51. //-------------------------------------------------------------------------------------
  52. // Misc. constants
  53. #define kDrawingSizeX            600
  54. #define kDrawingSizeY            800
  55.  
  56. #endif
  57.  
  58.